<?xml version="1.0" encoding="utf-8"?>
<schema xmlns:brp="http://www.brp.bzk.nl/bevraging/ws/basis" xmlns:srv="http://www.brp.bzk.nl/bevraging/ws/service/model" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.brp.bzk.nl/bevraging/ws/service/model" version="000001" xmlns="http://www.w3.org/2001/XMLSchema">
  <import schemaLocation="https://brp-proeftuin.modernodam.nl/bevraging/services/opvragenpersoon?xsd=brp_basis.xsd" namespace="http://www.brp.bzk.nl/bevraging/ws/basis" />
  <complexType name="Vraag">
    <sequence>
      <element minOccurs="1" maxOccurs="1" name="id" type="brp:VraagId" />
      <element minOccurs="1" maxOccurs="1" name="afzenderId" type="brp:PartijId" />
      <element minOccurs="1" maxOccurs="1" name="abonnementId" type="brp:AbonnementId" />
      <element minOccurs="1" maxOccurs="1" name="tijdstipVerzonden" type="brp:DatTijd" />
    </sequence>
  </complexType>
  <element name="OpvragenPersoonVraag">
    <complexType>
      <complexContent mixed="false">
        <extension base="srv:Vraag">
          <sequence>
            <element minOccurs="1" maxOccurs="1" name="bsn" type="brp:BSN" />
          </sequence>
        </extension>
      </complexContent>
    </complexType>
  </element>
  <complexType name="Antwoord">
    <sequence>
      <element minOccurs="0" maxOccurs="1" name="id" type="brp:AntwoordId" />
      <element minOccurs="1" maxOccurs="1" name="tijdstipVerzonden" type="brp:DatTijd" />
    </sequence>
  </complexType>
  <element name="OpvragenPersoonAntwoord">
    <complexType>
      <complexContent mixed="false">
        <extension base="srv:Antwoord">
          <sequence>
            <element minOccurs="0" maxOccurs="unbounded" name="opvragenPersoonAntwoordFout" nillable="true" type="srv:OpvragenPersoonAntwoordFout" />
            <element minOccurs="0" maxOccurs="unbounded" name="persoon" type="brp:Persoon" />
          </sequence>
          <attribute name="aantalFouten" type="int" use="required" />
          <attribute name="aantalPersonen" type="int" use="required" />
        </extension>
      </complexContent>
    </complexType>
  </element>
  <complexType name="OpvragenPersoonAntwoordFout">
    <sequence>
      <element minOccurs="1" maxOccurs="1" name="id" type="brp:FoutId" />
      <element minOccurs="1" maxOccurs="1" name="beschrijving" type="string" />
      <element minOccurs="0" maxOccurs="1" name="toelichting" type="string" />
    </sequence>
  </complexType>
</schema>